@extends('layouts.app')
@section('title', '消息中心')
@section('styles')
  <link href="/static/layuiadmin/style/template.css" rel="stylesheet">
@endsection

@section('content')

<div class="layui-fluid layadmin-homepage-fluid">
  <div class="layui-row layui-col-space8 layadmin-caller">
    <div class="layui-col-md10 layui-col-md-offset1">
      <div class="layui-row layui-col-space20 layadmin-homepage-list-imgtxt">
          <div class="layui-col-md9 layui-col-space20">
            <div class="grid-demo">
              <div class="panel-body layadmin-homepage-shadow">
                <div class="media-body">
                  <div class="pad-btm">
                    <h2 class="fontColor"><span><i class="far fa-bell" aria-hidden="true"></i> 我的通知</span></h2>
                  </div>
                  <div class="media-list">
                    @if ($notifications->count())
                      @foreach ($notifications as $notification)
                        @include('notifications.types._' . Str::snake(class_basename($notification->type)))
                      @endforeach
                    @endif
                   <a href="javascript:;" class="layui-btn">更多</a>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>

    </div>
  </div>
</div>

@endsection
